package cn.stylefeng.guns.sys.modular.gslbDict.mapper;

import cn.stylefeng.guns.sys.modular.gslbDict.entity.Gslbzd;
import cn.stylefeng.guns.sys.modular.gslbDict.model.params.GslbzdParam;
import cn.stylefeng.guns.sys.modular.gslbDict.model.result.GslbzdResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 公示类别字典 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-01-11
 */
public interface GslbzdMapper extends BaseMapper<Gslbzd> {

    /**
     * 获取列表
     *
     * @author author
     * @Date 2021-01-11
     */
    List<GslbzdResult> customList(@Param("paramCondition") GslbzdParam paramCondition);

    /**
     * 获取map列表
     *
     * @author author
     * @Date 2021-01-11
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") GslbzdParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author author
     * @Date 2021-01-11
     */
    Page<GslbzdResult> customPageList(@Param("page") Page page, @Param("paramCondition") GslbzdParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author author
     * @Date 2021-01-11
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") GslbzdParam paramCondition);

    /**
     * 插入数据
     */

    void insertGslbzd(@Param("paramCondition") GslbzdParam paramCondition);


    /**
     * 删除接口
     *
     * @param paramCondition
     * @return
     */
    Integer selectDelete(@Param("paramCondition") String paramCondition);


    /**
     * 修改
     *
     * @param paramCondition
     */
    void updateGslbzd(@Param("paramCondition") GslbzdParam paramCondition);

}
